<?php

namespace app\api\validate;


use think\Validate;

/**
 * 创建房间验证器
 * @package app\api\validate
 */
class CreateRoomValidate extends Validate
{
    //定义验证规则
    protected $rule = [
        'title|标题'                 => 'require|max:30',
        'rank|成员'                  => 'require',
        'snatchingWheatTime|抢麦时间' => 'require',
    ];

    //定义验证提示
    protected $message = [

    ];

    public function sceneReg($password){

    }

    /**
     * 验证场景
     */
    protected $scene = [

    ];
}
